<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
     <meta charset="UTF-8">
    <meta content="<?php echo $site['keywords']; ?>" name="keywords">
    <meta content="<?php echo $site['dis']; ?>" name="description">
    <title><?php echo $site['title']; ?></title>
    <link rel="stylesheet" href="CSS/reset.css">
    <link rel="stylesheet" href="CSS/index.css">
    <script type="text/javascript" src="JS/jquery-1.7.2.min.js"></script>
    <!--nav-->
    <script type="text/javascript" src="JS/nav.js"></script>
    <!--slide-->
    <script type="text/javascript" src="JS/slide.js"></script>
    <!--itab-->
    <script type="text/javascript" src="JS/itabtitle.js"></script>
    <!--intab-->
    <script type="text/javascript" src="JS/intab.js"></script>
    <!--insrtab-->
    <script type="text/javascript" src="JS/insrtab.js"></script>
    <!--focus-->
    <script type="text/javascript" src="JS/focus.js"></script>
    <!--inshow-->
   <!--slide-->
    <script type="text/javascript" src="JS/jquery.easing.js"></script>
    <script type="text/javascript" src="JS/script.js"></script>
    <script type="text/javascript" src="JS/slide2.js"></script>
    <!--motab-->
    <script type="text/javascript" src="JS/motab.js"></script>
    <!--share-->
    <script type="text/javascript" src="JS/show.js"></script>
    <script type="text/javascript" src="JS/showimg.js"></script>
    <!--form-->
    <script type="text/javascript" src="JS/inshow.js"></script>
    <script type="text/javascript" src="JS/Validform_v5.3.2_min.js"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <link rel="stylesheet" href="CSS/style.css">
    <script src="JS/jquery.min.js"></script>
    <script src="JS/iealert.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $("body").iealert();
        });
    </script>
    <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <style>
        embed{
            display: none;
        }
    </style>
    <![endif]-->
    <?php if(isset($formOK)&& $formOK){ ?>
    <script type="text/javascript">
        alert('提交成功');
    </script>
    <?php }; ?>
    <style>
        td{line-height:38px;}
        .Validform_checktip{margin-left:0;}
        .info{
            border:1px solid #ccc;
            padding:2px 20px 2px 5px;
            color:#666;
            position:absolute;
            display:none;
            line-height:20px;
            background-color:#fff;
            z-index: 10;
        }
        .dec {
            bottom: -8px;
            display: block;
            height: 8px;
            overflow: hidden;
            position: absolute;
            left: 10px;
            width: 17px;
        }
        .dec s {
            font-family: simsun;
            font-size: 16px;
            height: 19px;
            left: 0;
            line-height: 21px;
            position: absolute;
            text-decoration: none;
            top: -9px;
            width: 17px;
        }
        .dec .dec1 {
            color: #ccc;
        }
        .dec .dec2 {
            color: #fff;
            top: -10px;
        }
       /* .registerform tr{
            margin: 0 5px 16px;
        }
        .insrtab{
            border-top: 3px solid #018b5b;
        }
        .intj{
            width: 352px;
        }
        .itabul{
            padding-left: 0;
            padding-right: 0;
        }
        .itabul ul li{
            list-style: none;
            line-height: 31px;
        }
        #itabmore{
            font-weight: normal;
            color: #969696;
            font-size: 14px;
        }*/
        
    </style>
</head>
<!--header-->
    <div class="header w1200 clearFloat">
        <!--header-top-->
        <div class="header-top text-right mt10">
            <a target="_blank" href="http://www.caufutong.com/">返回主站 &nbsp;&nbsp;|&nbsp;&nbsp;</a>
            <a href="">中文 &nbsp;&nbsp;|&nbsp;&nbsp;</a>
            <a href=""> ENGLISH</a>
        </div>
        <!--header-top end-->
        <!--header-width-->
        <div class="header-width clearFloat mb15">
            <div class="logo floatLeft">
                <a href="<?php echo U('Index/index'); ?>"><img src="UPLOADS/<?php echo $site['logo']; ?>" alt="中农富通" width="442" height="61"/></a>
            </div>
            <div class="header-phone floatRight">
                <div class="sea">
                    <?php $url = U('/search/0'); ?><form method="get" action="<?php echo $url; ?>" class=""><input name="s" type="hidden" value="/search/0">
                        <input name="keyword" class="txtclass" type="text" value="请输入关键词">
                        <input class="search_a" type="submit" value="请输入关键词">
                    </form>
                </div>
            </div>

        </div>
        <!--header-width end-->
    </div>
    <!--header end-->
    <!--nav-->
    <div class="nav bgd-2c9d0d">
        <div class="w1200">
            <div class="navul">
                <ul class="clearFloat">
                    <?php if(isset($term)){ ?>
                    <li><a href="<?php echo U('/'); ?>"  class="nav_a" style="background: url(images/line.png) no-repeat center right;">首页</a></li>
                    <?php }else{ ?>
                    <li><a href="<?php echo U('/'); ?>"  class="nav_a active" style="background:#018b5b url(images/line.png) no-repeat center right;">首页</a></li>
                    <?php }; foreach($termList['nav'] as $termVo): ?>
                    <li>
                    <?php if(isset($term['address'][$termVo['id']])){ ?>
                        <a class="nav_a active" href="<?php echo $termVo['url']; ?>" target="" ><?php echo $termVo['name']; ?></a>
                    <?php }else{ ?>
                        <a class="nav_a" href="<?php echo $termVo['url']; ?>" target="" ><?php echo $termVo['name']; ?></a>
                    <?php }; if(!empty($termVo['child']['list']))
                        { ?>
                        <div class="subNav">
                            <span class="navPadding"></span>
                            <?php foreach($termVo['child']['nav'] as $termVochild): if(isset($term)&& $term['address'][$termVochild['id']]){ ?>
                                <a href="<?php echo $termVochild['url']; ?>" >
                            <?php }else{ ?>
                                <a href="<?php echo $termVochild['url']; ?>">
                            <?php }; echo $termVochild['name']; ?>
                            </a>
							<?php endforeach; ?>
                        </div>
                        <?php } ?> 
                    </li>
                   
					<?php endforeach; ?>
                </ul>
            </div>
        </div>

    </div>
    <!--nav end-->

<body>
<div class="warrper">


    <!--slide-width-->
    <!--slide-->
    <div id="lofslidecontent45" class="lof-slidecontent w1200 bgd-ff">
        <div class="preload"><div></div></div>
        <div class="lof-main-outer" style="width:1200px;height:370px;">
		<!-- 大图 -->
            <ul class="lof-main-wapper">
                <?php
                foreach ($links[$term['address']['first']['tag']['lid']] as $key => $value) {
                if($key == 0)
                {?>
                <li>
                    <img src="UPLOADS/<?php echo $value['logo']; ?>" title="<?php echo $value['name']; ?>"  width="1200" height="370"/>
                    <div class="lof-main-item-desc">
                       <?php echo $value['name']; ?>
                    </div>
                </li>
                <?php } else { ?>
                <li>
                    <img src="UPLOADS/<?php echo $value['logo']; ?>" title="<?php echo $value['name']; ?>"  width="1200" height="370"/>
                </li>
                <?php } } ?>
            </ul>
			<!-- 大图 END-->
        </div>
        <div class="lof-navigator-wapper">
            <div class="lof-navigator-right">
                <div onclick="return false" class="lof-next"></div>
                <div class="lof-navigator-outer">
				
				<!-- 小图 -->
                    <ul class="lof-navigator">
                       <ul class="lof-navigator">
                        <?php
                        foreach ($links[$term['address']['first']['tag']['lid']] as $key => $value) { ?>
                        <li><img src="UPLOADS/<?php echo $value['logo']; ?>" height="40" width="130"/></li>
                        <?php } ?>
                    </ul>
                    </ul>
					<!-- 小图 END-->
                </div>
                <div onclick="return false" class="lof-previous"></div>
            </div>

        </div>

    </div>
    <!--slide end-->
    <!--slide end-->
    <!--slide-width end-->
    <!--content-->
    <div class="content">
        <!--w1200-->
        <div class="w1200"><br><br>
            <h3 class="f22 fb text-018b5b border-b-c8  ptb10 relative"><?php echo $term['name']; ?>
			<span class="f16 fn text-3c aboutrightspan absolute"> 
			 <a href="<?php echo U('Index/index'); ?>" >首页</a> > 
		  <?php foreach($term['address'] as $termVo): ?>
					 <a href="<?php echo $termVo['url']; ?>" ><?php echo $termVo['name']; ?></a> > 
					<?php endforeach; ?>
					</span></h3><br><br>
            <div class="showimg">
                <ul class="clearFloat">
                    <?php foreach (getObj('TermById','71')['content'] as $key => $value) {
                        if(!empty($value['tag']['spwz']))
                        {
                    ?>
					
                    <li>
					<a href="<?php echo $value['url']; ?>">
						 <img src="UPLOADS/<?php echo $value['cover_img']; ?>" width="219" height="150" />
                        <span class="inshowspan"><?php echo $value['name']; ?></span>
						</a>
                    </li>
					
                    <?php }  } ?>

                </ul>
                <div class="newpage mt50">
				   <?php foreach(getObj('Page', $term['content']['pageCount']) as $p){ ?>
                  <a href="<?php echo $p['url']; ?>"><?php echo $p['text']; ?></a>
					<?php }; ?>
                </div>
            </div>
        </div>
        <!--w1200 end-->






    </div><br><br>


    <!--content end-->
<!--footer-->
    <div class="refooter pb20 pt20">
        <span class="display">
        	<a href="<?php echo U('Index/index'); ?>">首页</a>
			<?php foreach($termList['nav'] as $termVo): ?>
        	|<a href="<?php echo $termVo['url']; ?>"><?php echo $termVo['name']; ?></a>
        	<?php endforeach; ?>
        </span>
    </div>
    <div class="footerp text-center pt15 pb15">
        <p>ICP备案编号:<?php echo $site['ICP']; ?>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;备案编号：<?php echo $site['bh']; ?>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;版权所有：<?php echo $site['banquan']; ?>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;技术支持：<a
                href="">万虎网络</a></p>
    </div>
    <!--footer end-->

    <!--分享-->
    <div class="share relative">
        <div class="sharea sharea1">
            <a href="<?php echo U('Index/index'); ?>"><img src="images/share1.png" alt="" width="58" height="58"/></a>
        </div>
		
		<!-- sina -->
        <div class="sharea sharea2">
            <a href="<?php echo $site['sinalink']; ?>" target="_blank"><img src="images/share2.png" alt="" width="58" height="58"/></a>
        </div>
		
		<!-- weixin -->
        <div class="sharea sharea3 relative">
            <a href=""><img src="images/share3.png" alt="" width="58" height="58"/></a>
            <div class="swx">
                <img src="UPLOADS/<?php echo $site['wxlogo']; ?>" alt="" width="131" height="131"/>
            </div>
        </div>
		
		<!-- message -->
        <div class="sharea sharea4">
            <a href="tencent://message/?uin=<?php echo $site['qq']; ?>&Site=sc.chinaz.com&Menu=yes"><img src="images/share4.png" alt="" width="58" height="58"/></a>
        </div>
		
		<!-- dianhua -->
        <div class="sharea sharea5 relative">
            <a href=""><img src="images/share5.png" alt="" width="58" height="58"/></a>
            <div class="sphone f22 text-ff">
                <img src="images/share7.png" alt="" class="ml15"/><?php echo $site['iphone']; ?>

            </div>
        </div>
		
		<!-- 返回顶部 -->
        <div class="sharea sharea6">
            <a href=""><img src="images/share6.png" alt="" width="58" height="58"/></a>
        </div>
		
    </div>

    <!--分享 end-->
</div>

</body>
</html>